package serviceimpl;

import serivce.userService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import mapper.UserMapper;
import po.User;

@Service
public class userServiceimpl implements userService {

	@Autowired
	private UserMapper usermapper;
	
	public User queryById(Integer id) {
		return usermapper.queryById(id);
	}

	@Override
	public User queryByAccount(String account) {
		
		return usermapper.queryByAccount(account);
	}

}
